﻿using System.Collections.Generic;
using NUnit.Framework;
using System.Web.Mvc;
using ProjetoComperio.DataLayer.Entities;
using ProjetoComperio.SystemFramework.Extensions;

namespace ProjetoComperio.Test.SystemFramework.Extensions
{
    [TestFixture]
    public class IQueryableExtensionsTest
    {
        [Test]
        public void TestToSelectedItemList()
        {
            List<EducationLevel> list = new List<EducationLevel>();
            list.Add(new EducationLevel() { Description = "Teste", EducationLevelID = 1 });
            Assert.IsTrue((list.ToSelectedItemList("EducationLevelID", "Description") is List<SelectListItem>));




        }

     
    }

   
}
